// FondoDlg.h : header file
//

#pragma once

#include "FolderDialog.h"

// CFondoDlg dialog
class CFondoDlg : public CDialog
{
	CFolderDialog	m_FolderDialog;
	CString			m_strDirectory;
	CString			m_strMinutes;

// Construction
public:
	CFondoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_FONDO_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()

public:

	CString getDirectory(void)
	{
		return m_strDirectory;
	}

	int getMinutes(void)
	{
		int minutes = atoi(m_strMinutes.GetBuffer());
		m_strMinutes.ReleaseBuffer();
		return minutes;
	}

	afx_msg void OnBnClickedDirectoryChooser();
};
